/*
    This file is part of the Foothill College Web GIS.

    Foothill College Web GIS is free software: you can redistribute it 
    and/or modify it under the terms of the GNU General Public License 
    as published by the Free Software Foundation, either version 3 of 
    the License, or (at your option) any later version.

    Foothill College Web GIS is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foothill College Web GIS. If not, see 
    <http://www.gnu.org/licenses/>.

*/

.fhWebMap { font-family: 'Trebuchet MS', sans-serif }
.fhWebMap_widget a {
    text-decoration: none;
    font-color: #0000ff;
    background-color: #aaaaff;
    padding: 4.5px;
    margin: 4.5px;
    margin-top: 6px; /* put it below margin so that margin doesn't override it*/
}
.fhWebMap_widget { 
	/* fonts and stuff for the controls */
	/* Don't use background or anything like that in here; IE forces this div as large as the page and you will obscure the map */
}

.fhWebMap_layerSelector {
    /* if it's floated, the search box disappears in IE. This is the easiest way to fix it. See
       issue 12 for more info on this problem. */
    float: none;

    /* have to put this here and not just applied to the <a> so that the
       entire <a> tag will be aligned, not just the text within the <a> tag */
    text-align: right;
}

/* The layer selector within the slide box 
   since there is no comma, this means a slideBox within a layer selector,
   not a slideBox or a layer selector  */
.fhWebMap_layerSelector .fhWebMap_slideBox {
    text-align: left;
}

.fhWebMap_searchBox {
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter:alpha(opacity=80%);
    float:right;
    margin-top: 4.5px;
    margin-right: 4px;
    z-index: 30; /* For MSIE */
}

.fhWebMap_slideBox {
	background-color: #aaaaff;
	padding: 3px;
	/* Internet Explorer requires a width be set */
	width: 10em;
	border-radius: 6px;
	-moz-border-radius: 6px;
}

.fhWebMap_alert { 
    z-index: 1000;
    background: #aaaaff;
    border: 2px solid #5555ff;
    position: absolute;
    width: 200px;
    padding: 9px;
    border-radius:6px;
}

.fhWebMap_legend { 
    background-color: #aaaaff;
    border-top: 2px solid #5555ff; /* a little bar between legend and map */
}

.fhWebMap_legendItem { padding: 4px; white-space: nowrap }
.fhWebMap_legendItem img { padding: 4px; /* the image does not always inherit */
			   vertical-align: middle } 
.fhWebMap_legendItem b { vertical-align: middle } 

.fhWebMap_log { display: none } /* not shown by default */